//
//  ChangePassword.m
//  tingche
//
//  Created by 尤振宇 on 2017/6/27.
//  Copyright © 2017年 尤振宇. All rights reserved.
//

#import "ChangePasswordApi.h"

@implementation ChangePasswordApi
{
    NSString *_password1;
    NSString *_password2;
}

- (instancetype)initWithPassword1:(NSString *)password1 Password2:(NSString *)password2
{
    self = [super init];
    if (self) {
        _password2 = password2;
        _password1 = password1;
    }
    return self;
}

-(NSString *)requestUrl
{
    return @"counselor/modifyPassword";
}

-(id)requestArgument
{
    return @{@"password":_password1,@"password_confirmation":_password2};
}
@end
